package dfcd.com.maintest

import android.os.Bundle
import android.support.v7.app.AppCompatActivity


class MainActivity : AppCompatActivity() {


    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)


        fun main(ags: Array<String>) {
            (0..100).forEach {
                if (50 <= it) return@forEach
                println(it)
            }
        }


    }

}
